package com.spic.business.informatization.befor_work_sign.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.spic.business.informatization.befor_work_sign.domain.MeetingBeforeSignSubtable;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 班前会签到人员Mapper接口
 *
 * @author yangjie
 * @date 2021-12-20
 */
@Mapper
public interface MeetingBeforeSignSubtableMapper extends BaseMapper<MeetingBeforeSignSubtable>
{
    /**
     * 查询班前会签到人员
     *
     * @param id 班前会签到人员主键
     * @return 班前会签到人员
     */
    MeetingBeforeSignSubtable selectMeetingBeforeSignSubtableById(String id);

    /**
     * 查询班前会签到人员列表
     *
     * @param meetingBeforeSignSubtable 班前会签到人员
     * @return 班前会签到人员集合
     */
    List<MeetingBeforeSignSubtable> selectMeetingBeforeSignSubtableList(MeetingBeforeSignSubtable meetingBeforeSignSubtable);

    /**
     * 新增班前会签到人员
     *
     * @param meetingBeforeSignSubtable 班前会签到人员
     * @return 结果
     */
    int insertMeetingBeforeSignSubtable(MeetingBeforeSignSubtable meetingBeforeSignSubtable);

    /**
     * 修改班前会签到人员
     *
     * @param meetingBeforeSignSubtable 班前会签到人员
     * @return 结果
     */
    int updateMeetingBeforeSignSubtable(MeetingBeforeSignSubtable meetingBeforeSignSubtable);

    /**
     * 删除班前会签到人员
     *
     * @param id 班前会签到人员主键
     * @return 结果
     */
    int deleteMeetingBeforeSignSubtableById(String id);

    /**
     * 批量删除班前会签到人员
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    int deleteMeetingBeforeSignSubtableByIds(String[] ids);
}
